package com.smedi.ismedi.notification.core.domain.aggregatemodel;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: xulinjun
 * @Date: 2021-7-11 14:44
 */
@Data
@TableName(value = "cux_sms_log_t")
@Accessors(chain = true)
public class SmsLog implements Serializable {
    private Long smsLogId;

    private String serialNo;

    private String batchId;

    private String messageContent;

    private String mobile;

    private Long templateId;

    private String statusCode;

    private boolean succeed;

    private String errorMessage;

    private Long createdUserId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private LocalDateTime createdDate;

    private String topOrgId;

    private String tenantId;
}
